﻿using System.Transactions;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace iTravel.Repository.Test
{
    [TestClass]
    public abstract class TransactionalTest
    {
        private TransactionScope _scope;

        [TestInitialize]
        public void Init()
        {
            _scope = new TransactionScope();
        }

        [TestCleanup]
        public void CleanUp()
        {
            _scope.Dispose();
        }
    }
}
